import request from '@/http/request'

/** 机构列表 **/
export const   $apiAgentInfoList = (params) => {
    return request.request({ url: '/api/agentInfo', method: 'GET', params: params }, true, true, false)
  }

// 生成账号
export const $apiAgentInfoAutoAddUser = ( data) => {
  return request.request({ url: '/api/agentInfo/autoAddUser', method: 'POST', data: data }, true, true, false)
}
// 重置密码
export const $apiAgentInfoPwdReset = (data) => {
  return request.request({ url: '/api/agentInfo/pwdReset', method: 'POST', data: data }, true, true, false)
}
// 详情接口
export const   $apiAgentInfoDetail = (params) => {
  return request.request({ url: '/api/agentInfo/detail', method: 'GET', params: params }, true, true, false)
}
// 修改接口
export const $apiAgentInfoUpdateInfo = (data) => {
  return request.request({ url: '/api/agentInfo/updateInfo', method: 'POST', data: data }, true, true, false)
}
// 导出机构信息
export const $apiAgentInfoExport = (data) => {
  return request.request({ url: '/api/agentInfo/export', method: 'POST', data: data }, true, true, false)
}
